home *** CD-ROM | disk | FTP | other *** search
/ Apple Developer Connection 1998 Fall: Game Toolkit / Disc.iso / SDKs / Apple Game Sprockets / InputSprocket / Sample⁄Test Applications / InputSprocketPPTest / ISpPPTest.r < prev    next >
Encoding:
Text File  |  1998-07-17  |  1.2 KB  |  42 lines  |  [TEXT/CWIE]

  1. /*************************************************************************************
  2.  
  3. File:      ISpPPTest.r
  4.  
  5. Copyright © 1996, 1997, 1998 Apple Computer, Inc., All Rights Reserved
  6.  
  7.  
  8. You may incorporate this sample code into your applications without
  9. restriction, though the sample code has been provided "AS IS" and the
  10. responsibility for its operation is 100% yours.  However, what you are
  11. not permitted to do is to redistribute the source as "DSC Sample Code"
  12. after having made changes. If you're going to re-distribute the source,
  13. we require that you make it clear in the source that the code was
  14. descended from Apple Sample Code, but that you've made changes.
  15.  
  16. *************************************************************************************/
  17.  
  18. #include "InputSprocket.r"
  19.  
  20. /* the InputSprocket application resource tells utility programs how the */
  21. /* application uses InputSprocket */
  22.  
  23. #define    kResourceID_isap                        128
  24. #define    kResourceID_setl                        128
  25.  
  26. resource 'isap' (kResourceID_isap)
  27. {
  28.     callsISpInit,
  29.     usesInputSprocket
  30. };
  31.  
  32. /* the set list resource contains the list of all the saved sets for devices */
  33. /* that are provided in the application's resource fork */
  34.  
  35. resource 'setl' (kResourceID_setl, "ISpTest (PowerPlant) sets")
  36. {
  37.     currentVersion,
  38.     {
  39.     };
  40. };
  41.  
  42.